package com.bzy.blp.upms.service;

import java.util.List;
import java.util.Set;


public interface CommonService {

	public Long findAppId(String appKey) throws Exception;
	
	public Long findUserId(String userName) throws Exception;
	
    public Set<String> findRoles(Long userId, Long appId) throws Exception;

    public Set<String> findPermissions(Long userId, Long appId) throws Exception;
	

    //    public List<MainmenuVo> findMainmenuTree(Set<String> permissions) throws Exception;
    
}
